package com.fly.container.service;

import org.springframework.beans.factory.BeanNameAware;
import org.springframework.stereotype.Service;

/**
 * DepartmentService
 *
 * @author Mr.Fu
 * @date 2023/3/19 上午9:12
 */
@Service
public class DepartmentService implements BeanNameAware {

//    @Resource
//    private DepartmentMapper departmentMapper;
//
//    public int save(Department department) {
//        return departmentMapper.save(department);
//    }
//
//    public int update(Department department) {
//        return departmentMapper.update(department);
//    }

    public void print(String param) {
        System.out.println(param);
    }

    @Override
    public void setBeanName(String s) {
        System.out.println("DepartmentService setBeanName:" + s);
    }
}
